package com.ytc.service.impl;

import com.ytc.mapper.BookMapper;
import com.ytc.model.Book;
import com.ytc.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class BookServiceImpl implements BookService {
    @Autowired
    private BookMapper bookMapper;
    @Override
    public List<Book> queryBookList() {
        return bookMapper.queryBookList();
    }
}
